From f7ce956f26bd1a3710d647de15a4ef816c3c203e Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Tue, 13 Nov 2018 08:45:49 -0800 Subject: [PATCH] xen/arm: increase MAX_MODULES Xen boot modules need to account not just for Dom0 but also for a few potential DomUs, each of them coming with their own kernel and initrd. Increase MAX_MODULES to 32 to allow for more DomUs. Signed-off-by: Stefano Stabellini Reviewed-by: Doug Goldstein Acked-by: Julien Grall --- xen/include/asm-arm/setup.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-arm/setup.h b/xen/include/asm-arm/setup.h index 11e1b2aacf..4e501edd8f 100644 --- a/xen/include/asm-arm/setup.h +++ b/xen/include/asm-arm/setup.h @@ -8,7 +8,7 @@ #define NR_MEM_BANKS 128 -#define MAX_MODULES 5 /* Current maximum useful modules */ +#define MAX_MODULES 32 /* Current maximum useful modules */ typedef enum { BOOTMOD_XEN, -- 2.30.2